/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.enums.base;

import com.dian.common.enums.EnumMessage;
/**
 * 商品资料表-商品类型枚举
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-10 19:06:22
 */
public enum Goods_GoodsTypeEnum implements EnumMessage{
    
        /**
         * 普通商品 STAN 1
         */
        STAN(1,"普通商品"),
    
        /**
         * 组合商品 ASSO 2
         */
        ASSO(2,"组合商品"); 
    
    private int code;
    private String desc;

        Goods_GoodsTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public int getValue() {return code;}

    @Override
    public String getDesc() {return desc;}
}
